//
//  BillViewController.h
//  ShareYOU
//
//  Created by 杨亭 on 14-12-22.
//  Copyright (c) 2014年 ShareYOU. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface BillViewController : UIViewController<UIActionSheetDelegate,UIPickerViewDelegate,UIPickerViewDataSource,UITextFieldDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate, UITextViewDelegate>

//金额输入
@property (nonatomic, retain)UITextField *moneyTextField;
//类型输入
@property (nonatomic, retain)UITextField *typeTextField;
//时间输入
@property (nonatomic, retain)UITextField *dateTextField;
//成员输入
@property (nonatomic, retain)UITextField *personnelTextField;
//备份输入
@property (nonatomic, retain)UITextView *commentTextField;

//类型显示
@property (nonatomic, retain)UILabel *typeLabel;
//日期显示
@property (nonatomic, retain)UILabel *dateLabel;
//成员显示
@property (nonatomic, retain)UILabel *personnelLabel;
//备注显示
@property (nonatomic, retain)UILabel *commentLabel;
//金额显示
@property (nonatomic, retain)UILabel *moneyLabel;
//类型pickerView
@property(nonatomic,retain) UIPickerView *typePicker;
//成员pickerView
@property(nonatomic,retain) UIPickerView *personPickerView;
//时间DatePicker
@property(nonatomic,retain) UIDatePicker *datePicker;
//picker类型数据数组
@property(nonatomic,strong) NSArray *pickerArrayType;
//picker成员数据数组
@property(nonatomic,strong) NSArray *pickerArrayPerson;
//清除按钮
@property (nonatomic, retain)UIButton *clearButton;
//保存按钮
@property (nonatomic, retain)UIButton *saveButton;
//显示剩余字数
@property (nonatomic, retain)UILabel *surplusInputLabel;


@property(nonatomic,strong)NSString *backTypeNSString;

//自定义键盘
@property(nonatomic,retain) UIToolbar *keyboardToolbar;



@property(nonatomic,retain) NSString *types;
@property(nonatomic,assign) int pickerIndex;
@property(nonatomic,retain) NSDate *theDate;
@property(nonatomic,retain) NSString *person;
@property(assign,nonatomic) NSInteger billIndex;

//判断如果为0则执行类别pickerview,否则执行成员pickerview
@property (assign, nonatomic) int mark;
//声明函数
- (void)setTypeData;
- (void)setDateData;
- (void)setPersonData;
- (void)datePickerChanged:(id)sender;



@end
